package com.example.blog.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Admin
 */
@Data
@ApiModel("添加聊天用户入参")
public class AddMemberReqDto {

    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private String numberId;

    @NotBlank(message = "直播间id不能为空")
    @ApiModelProperty("直播间id")
    private String roomId;

    @ApiModelProperty("用户名称")
    private String numberName;

}
